<?php

namespace App\Http\Controllers;

use App\Services\Base\Rsp;
use App\Services\Constant\ErrorCode;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;

abstract class Controller extends BaseController
{
    use DispatchesJobs, ValidatesRequests;

    public function missingMethod($parameters = array())
    {
        exit(Rsp::errorMake(ErrorCode::MISSING_METHOD,ErrorCode::getMsg(ErrorCode::MISSING_METHOD)));
    }
}
